import axios from '@/libs/request/axios'
//查询扣款批次
export const queryDebitBatchList = (params) => {
    return axios.request({
        url: `/contractBasic/debit/queryDebitBatchList`,
        params: params,
        method: 'post'
    })
}
export const queryDebitBatch = (params) => {
    return axios.request({
        url: `/contractBasic/debit/queryDebitBatch`,
        params: params,
        method: 'post'
    })
}
//删除扣款批次
export const deleteDebitBatch = (params) => {
    return axios.request({
        url: `/contractBasic/debit/deleteDebitBatch`,
        params: params,
        method: 'post'
    })
}
//生成扣款批次
export const generateDebitBatch = (params) => {
    return axios.request({
        url: `/contractBasic/debit/generateDebitBatch`,
        params: params,
        method: 'post'
    })
}
//获取扣款批次明细
export const queryDebitBatchDetailList = (params) => {
    return axios.request({
        url: `/contractBasic/debit/queryDebitBatchDetailList`,
        params: params,
        method: 'post'
    })
}
//获取扣款记录
export const queryDebitDetailList = (params) => {
    return axios.request({
        url: `/contractBasic/debitDetail/queryDebitDetailList`,
        params: params,
        method: 'post'
    })
}
//发送扣款批次
export const sendDebitBatch = (params) => {
    return axios.request({
        url: `/contractBasic/debit/sendDebitBatch`,
        params: params,
        method: 'post'
    })
}
//查询批次扣款结果
export const queryDebitBatchResult = (params) => {
    return axios.request({
        url: `/contractBasic/debit/queryDebitBatchResult`,
        params: params,
        method: 'post'
    })
}
//查询待扣款合同
export const getDebitContract = (params) => {
    return axios.request({
        url: `/contractBasic/singleDebit/getDebitContract`,
        params: params,
        method: 'post'
    })
}
//查询待扣款合同
export const singleDebitSend = (params) => {
    return axios.request({
        url: `/contractBasic/singleDebit/singleDebitSend`,
        params: params,
        method: 'post'
    })
}
